What is HomePlugs and how do they work?

Homeplugs basically send internet down your mains. They take an ethernet from the router into the back of one of them then you plug it into a wall socket. You then plug another homeplug into another wall socket and take an ethernet cable from the back of that into your pc.