Do free apps cost money?

No; that's why they are called "free" apps.

Some are truly free. Some use ads to cover the cost of the app. If you want to get rid of the ads, you have to pay for an "upgrade". And some apps cost money and do not have a free version.