with if statments if the requirments are met then it will run the code bellow it or if id dosnt meet the requirments then it will run a differnt lie of code.
Switch acts as elseif but in a much cleaner format.