When you are a simple client who wants to make use of a software but you have nothing in hand then you use SaaS.
When you have a software developed by you, but you want to deploy and run on a publicly available platform then you use PaaS.
When you have the software and the platform ready but you want the hardware to run then you use IaaS.