We call it a Christmas light circuit. A receptacle is installed under every house frontal window and the top half of each of those receptacles is controlled by a single switch located in a closet
It can be done for other reasons than the Christmas lights