While browsing through the datasheet of an ATMega324p description of a pin I noticed this symbol which looks like four diodes/triangles pointing at each other.

So my question is what is it actually?
It's a transmission gate or analogue switch:
https://www.maximintegrated.com/en/app-notes/index.mvp/id/4243
The top connection should have an inversion bubble.