There is a biological component to homosexuality. Some people are born "a little off." Some people may be attracted to their same sex, others may have addiction problems and others might be more prone to anger, etc.
There are three components to homosexuality: biological, personal experiences (e.g., childhood abuse) and choice. The choice to act is up to the individual.