A push-button switch is a simple mechanism to control the flow of electric current from a power supply to a device. Button switches are typically made out of hard material especially for heavy duty applications.
A door switch is an electric contacting device for opening and closing a circuit, which is attached to a door frame and operated by opening or closing the door.