Connectors and switches are used to connect and disconnect various components in an electronic circuit.