Testis-determining factor (TDF) is a protein encoded by the SRY gene on the Y chromosome, crucial for initiating male sex determination in mammals. It triggers the development of undifferentiated gonadal tissue into testes, leading to the production of male hormones and subsequent male sexual differentiation.