What is the difference between an agonist and analogue?

what is the difference between an agonist and analogue?

An agonist is a receptor stimulator.

An analogue is a drug similar to some other ligand in the body. And it also stimulates receptor.

thank you sir.