Can bacteria "observe" the stars?