While IPS and WAF are both focused on network security, they each function differently. WAF blocks and filters incoming and outgoing traffic, while IPS detects and alerts security professionals of an incursion, or takes automated action to prevent the attack, depending on the configuration.
An IPS is installed after the firewall in layer 2, while WAF is installed inline at the perimeter of the network in layer 3.