Hi lavster!
I thought it could be useful if I gave some motivation about the notion of "compactness". In analysis, there are a few important theorems, one of them is the extreme value theorem.
As you probably know, this states that
This theorem is
extremely useful as it can be used to show Rolle's theorem, Taylor's theorem and several others. So mathematicians began to think whether they could probably change the domain [a,b] to a more general one (why? because the theorem could have useful generalization to multivariate analysis!). And this was indeed possible! We can generalize the theorem as follows:
Still, mathematicians were not happy. Indeed, several developments in mathematics and physics lead them to consider metric spaces and topological spaces. These are concepts in which notions such as continuousness and convergence still make sense.
The question is whether we could generalize the extreme value theorem to the setting of metric spaces and topological spaces. This is indeed possible and it leads us to the notion of compactness. In metric spaces, a space is compact if every sequence has a convergent subsequence, or equivalently, if every open cover has a finite subcover. This is the correct generalization, since we have
Furthermore, this notion of compactness specializes to closed and boundedness for subsets of \mathbb{R}^n (this is the Heine-Borel theorem). Thus this definition is really what we're looking for!
For topological spaces, the situation becomes slightly more complicated as the statements "every sequence has a convergent subsequence" and "every cover has a finite subcover" are no longer equivalent. It was discovered, however, that the latter was the proper generalization. The sequence-statement was less important, but still got the name sequential compactness.
Also note that the history of compactness was a very long one. Right now, we can give relatively easy definitions of compactness, but the original definitions were quite complicated!