Compact sets are closed?
We know that if $X$ is Hausdorff, then a compact subset $Y$ of $X$ must be closed. Without the assumption, this claim is not true. But can you come up with a counterexample?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Give any set with at least two elements the indiscrete topology. Then any nonempty proper subset is compact but not closed.