MDFs and IDFs are not hard to understand if you think of them for what they usually are in schools -- the server closets.
MDF stands for Main Distribution Facility and is where your connection from the internet comes into your building and also where the equipment (routers and switches) that distributes and processes traffic from the local network
Main Distribution Facility - a server room, or server closet
Intermediate Distribution Room (sometimes called )