 Any finite space is trivially compact.A non-trivial example of a compact space is the (closed) unit interval of real numbers.If one chooses an infinite number of distinct points in the unit interval, then there must be some accumulation point in that interval.