Song writers and story tellers

How our songs were written where did they come from and what was the inspiration behind them. Where does one come up with a song idea and the process of turning an idea into a song and putting music to it?