They taste almost same. Are they different?
A curd is a transitional element obtained, once milk starts to coagulate, the other being a water substance called whey. These are separated and cheese can later be made from the curd, via the addition of other ingredients, such as rennet. Or in the case of cottage cheese and paneer, an acid.
Yoghurt is a finished product, produced by by heating milk, then adding a live 'starter' culture. It's then kept at a stable warm temperature for a number of hours, followed by cooling.
Like you said, they almost taste the same, but aren't exactly the same. Both are fermented dairy milk, but the level of fermentation varies for both. Boiled and semi- warm milk is mixed with fermentation bacteria and allowed to set in a matter of 3-4 hours. This is yogurt. It is not sour, bu you can scoop and enjoy it.
Once this yogurt is kept aside in a warm place for more time, it curdles even more and that is when you get curd. It is more sour than yogurt. Hope this helps!