I was under the hood when my instructor had to take control to evade another aircraft. I didn't see shit but he looked pretty shaken so it must have been close. Another time I was solo and saw an aircraft ahead of me, as we got closer I realized he was coming right at me so I had to turn to dodge. Nothing so serious has happened to me that I've gotten out to kiss the ground and I hope it never does.