Homologous structures are those that have a similar structure and origin. They will have different functions. Eg :- Forelimbs of a man , bat, whale etc have the same structure, but are used for different purposes.
Analogous structures have a common function but different structures and origins.
Eg :- wings of a bird and that of a butterfly