Heterosexuality and homosexuality are what we call 'mature sexualities.' This stuff doesn't really become latent until puberty, but when it does it's assumed that people are looking for partners with the same physical maturity level. So mature sexuality means not just that the people are physically mature, but that they're seeking partners who are physically mature.
And so whether you're heterosexual or homosexual, you're looking for someone on your level. You're attracted to sexual maturity.
A pedophile is not.
more info
You need to re read