How to use Pair-Plot to explore and analyze a dataset in Python?

I recently learned about a pair-plot visualization which is available in Python’s library Seaborn, I learned that it can be used to analyze a complete dataset and it shows different plots for different feature comparisons. I am however unaware of how to write the code for it and is there a way I can select certain features instead of all of them? Also, what are the advantages of this visualization? If anyone can answer these questions with the help of example codes, it would really help me.