Entropy: from black holes to ordinary systems