Need for Joining attribute data with spatial data

What is spatial data and the need for joining attribute data with spatial data