On earth, we get microbes surviving in underwater volcanoes or the hot waters around them. It's a tiny portion of life on earth, but there's no reason we couldn't see similar elsewhere.
Cue references to that Star Trek episode where they were destroying alien eggs without realizing they were eggs and the guardian was killing miners because of it.