Question: why are compact sets important?
Answer: Essentially, they serve as good testing grounds to prove theorems for special cases and then extend upwards. All though, their uses extend much further than basic analysis. The maximum minimum theorem mentioned already is important as mentioned. But very often also the definition of compact set is used itself too.