The present invention relates to a connector. Aforementioned connector includes a first connecting member, a second connecting member, and a third connecting member. The first connecting member includes a first case, a first insulator, and a first conductive terminal, wherein the first case defines a first receiving chamber therein, the first insulator is received in the first receiving chamber, an external sidewall of the first case is provided with a first step. The second case defines a containing hole, the PCB board is received in the containing hole, a first end and a second end of the second case each defines a latching groove, the latching grooves is in communication with the containing hole. The third connecting member includes a third case, a second insulator, and a second conductive terminal, wherein the third case defines a second receiving chamber therein. In above connector, because the electrical components coupled to opposite ends of the connector can slide along three directions which are perpendicular to each other, such that a problem of a difficulty of a connection between the connector and the electrical components which is caused by a deviation of the design of the structure of the electrical components can be avoided, thereby a tolerance insensitive of the connector is enhanced.