Sex determination is the process by which an organism develops as male or female. It can be identified by morphological, anatomical and physiological characteristics. Historically it was determined based on primary and secondary sex characteristics, but scientific study began after the discovery of sex chromosomes in 1902. There are two main theories of sex determination - genetic theories involving sex chromosomes and physiological theories related to metabolic differences. In most species, including humans, the presence of two X chromosomes determines female development while one X and one Y chromosome determines male development.