A man in the middle attack involves tricking a victim's computer that is connected to wifi to think that you are the wifi, and tricking websites into thinking you are the victim's computer. Once this happens, traffic from both ends will be sent through your computer, allowing you to see any transmitted data.