Ground Pin multiple devices

Hi there this maybe a dumb question but here it goes,

I have two devices hooked up on my arduino they are both using the side of the arduino board with the PWM capabilities.

Can I put the ground of the two devices on the same grond pin or can I use the ground pins on the other side of the arduino board as well?

Thanks in advance

Yes. Yes. The pins are connected together on the board.

The one caveat is if you are using analog sensors - its best to have them share one
of the ground pins and keep that separate from any PWM circuitry to avoid picking
up ground noise on the analog signals.