How are webfonts made?

Could anyone tell me how webfonts are made?