What is the sole purpose test and why does it matter for my SMSF?

What is the sole purpose test and why does it matter for my SMSF?