Pope Francis says the Roman Catholic Church should seek forgiveness from those whom it had marginalised, such as women, the poor, children forced into labour and gay community for the way it has treated them.
The Pope told reporters that the Church had no right to judge the gay community, and should show them respect.
The Pope has been hailed by many in the gay community for his positive attitude towards homosexuals.
But some conservative Catholics have criticised him for making comments they say are ambiguous about sexual morality.
Speaking to reporters on his plane returning from Armenia, the Pope said: "I will repeat what the catechism of the Church says, that they [homosexuals] should not be discriminated against, that they should be respected, accompanied pastorally."