Similarity between a machine and a star: both may give off energy