I found this excellent infographic that details how a bitcoin transaction works.
Source: https://visual.ly/community/infographic/technology/bitcoin-infographic
Happy Steeming. :) :) Please feel free post questions if you don't understand anything in the infographic. I'd be more than happy to explain them.