Open banking is a service, while PSD2 is one of the regulations that govern how that service works. Effectively, PSD2 is the law that requires banks to provide data to third parties (as long as you have permitted them to), and open banking provides a standard format in which to provide your data.