I'm doing logic gates using their basic components MOSFETs. I have no idea how to understand which is the source and drain of the transistor from a symbol diagram when given both the n type and the p type. I also cannot understand what happens when the source is connected to ground. Can someone please explain? Thanks!