Impetus Technologies Interview Question

What is PySpark SQL and how does it relate to DataFrames? How can you execute SQL queries in PySpark? Explain the concept of User Defined Functions (UDFs) in PySpark.