If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

The laws of thermodynamics

First and Second Laws of Thermodynamics, as they apply to biological systems.


What kind of system are you: open or closed? As it turns out, this is a physics question, not a philosophical one. You, like all living things, are an open system, meaning that you exchange both matter and energy with your environment. For instance, you take in chemical energy in the form of food, and do work on your surroundings in the form of moving, talking, walking, and breathing.
All of the exchanges of energy that take place inside of you (such as your many metabolic reactions), and between you and your surroundings, can be described by the same laws of physics as energy exchanges between hot and cold objects, or gas molecules, or anything else you might find in a physics textbook. Here, we’ll look at two physical laws – the First and Second Laws of Thermodynamics – and see how they apply to biological systems like you.

Systems and surroundings

Thermodynamics in biology refers to the study of energy transfers that occur in molecules or collections of molecules. When we are discussing thermodynamics, the particular item or collection of items that we’re interested in (which could be something as small as a cell, or as large as an ecosystem) is called the system, while everything that's not included in the system we’ve defined is called the surroundings.
Generalized depiction of the system (a circle), the surroundings (a square surrounding the circle), and the universe (system + surroundings).
For instance, if you were heating a pot of water on the stove, the system might include the stove, pot, and water, while the surroundings would be everything else: the rest of the kitchen, house, neighborhood, country, planet, galaxy, and universe. The decision of what to define as the system is arbitrary (up to the observer), and depending on what you wanted to study, you could equally well make just the water, or the entire house, part of the system. The system and the surroundings together make up the universe.
There are three types of systems in thermodynamics: open, closed, and isolated.
  • An open system can exchange both energy and matter with its surroundings. The stovetop example would be an open system, because heat and water vapor can be lost to the air.
  • A closed system, on the other hand, can exchange only energy with its surroundings, not matter. If we put a very tightly fitting lid on the pot from the previous example, it would approximate a closed system.
  • An isolated system is one that cannot exchange either matter or energy with its surroundings. A perfect isolated system is hard to come by, but an insulated drink cooler with a lid is conceptually similar to a true isolated system. The items inside can exchange energy with each other, which is why the drinks get cold and the ice melts a little, but they exchange very little energy (heat) with the outside environment.
You, like other organisms, are an open system. Whether you think about it or not, you are constantly exchanging energy and matter with your surroundings. For instance, suppose that you eat a carrot, or lift a bag of laundry onto a table, or simply breathe out and release carbon dioxide into the atmosphere. In each case, you are exchanging energy and matter with your environment.
Exchanges of energy that take place in living creatures must follow the laws of physics. In this regard, they are no different from energy transfers in, say, an electrical circuit. Let's take a closer look at how the laws of thermodynamics (physical rules of energy transfer) apply to living beings like yourself.

The First Law of Thermodynamics

The first law of thermodynamics thinks big: it deals with the total amount of energy in the universe, and in particular, it states that this total amount does not change. Put another way, the First Law of Thermodynamics states that energy cannot be created or destroyed. It can only change form or be transferred from one object to another.
Image of ice cream cone (chemical energy) being converted to motion of kids riding bikes (kinetic energy).
Image of sun (light energy) being converted to sugars in a leaf (chemical energy).
Image credit: OpenStax Biology. Credit “Ice cream," modification of work by D. Sharon Pruitt; credit "Kids on bikes," modification of work by Michelle Riggen-Ransom, and credit “Leaf”: modification of work by Cory Zanker.
This law may seem kind of abstract, but if we start to look at examples, we’ll find that transfers and transformations of energy take place around us all the time. For example:
  • Light bulbs transform electrical energy into light energy (radiant energy).
  • One pool ball hits another, transferring kinetic energy and making the second ball move.
  • Plants convert the energy of sunlight (radiant energy) into chemical energy stored in organic molecules.
  • You are transforming chemical energy from your last snack into kinetic energy as you walk, breathe, and move your finger to scroll up and down this page.
Importantly, none of these transfers is completely efficient. Instead, in each scenario, some of the starting energy is released as thermal energy. When it's moving from one object to another, thermal energy is called by the more familiar name of heat. It's obvious that glowing light bulbs generate heat in addition to light, but moving pool balls do too (thanks to friction), as do the inefficient chemical energy transfers of plant and animal metabolism. To see why this heat generation is important, stay tuned for the Second Law of Thermodynamics.

The Second Law of Thermodynamics

At first glance, the first law of thermodynamics may seem like great news. If energy is never created or destroyed, that means that energy can just be recycled over and over again, right?
Well…yes and no. Energy cannot be created or destroyed, but it can change from more-useful forms into less-useful forms. As it turns out, in every real-world energy transfer or transformation, some amount of energy is converted to a form that’s unusable (unavailable to do work). In most cases, this unusable energy takes the form of heat.
Although heat can in fact do work under the right circumstances, it can never be turned into other (work-performing) types of energy with 100% efficiency. So, every time an energy transfer happens, some amount of useful energy will move from the useful to the useless category.

Heat increases the randomness of the universe

If heat is not doing work, then what exactly does it do? Heat that doesn’t do work goes towards increasing the randomness (disorder) of the universe. That may seem like a big logic jump, so let’s take a step back and see how it can be the case.
When you have two objects (say, two blocks of the same metal) at different temperatures, your system is relatively organized: the molecules are partitioned by speed, with those in the cooler object moving slowly and those in the hotter object moving quickly. If heat flows from the hotter object into the cooler object (as it will spontaneously), the molecules of the hot object slow down, and the molecules of the cool object speed up, until all the molecules are moving at the same average speed. Now, rather than having a partition of between fast and slow molecules, we simply have one big pool of molecules going about the same speed – a less ordered situation than our starting point.
The system will tend to move towards this more disordered configuration simply because it’s statistically much more likely than the temperature-separated configuration (i.e., there are many more possible states corresponding to the disordered configuration). You can explore this concept further in the videos in this tutorial, or in this straightforward physics video.

Entropy and the Second Law of Thermodynamics

The degree of randomness or disorder in a system is called its entropy. Since we know that every energy transfer results in the conversion of some energy to an unusable form (such as heat), and since heat that does not do work goes to increase the randomness of the universe, we can state a biology-relevant version of the Second Law of Thermodynamics: every energy transfer that takes place will increase the entropy of the universe and reduce the amount of usable energy available to do work (or, in the most extreme case, leave the overall entropy unchanged). In other words, any process, such as a chemical reaction or set of connected reactions, will proceed in a direction that increases the overall entropy of the universe.
To sum up, the First Law of Thermodynamics tells us about conservation of energy among processes, while the Second Law of Thermodynamics talks about the directionality of the processes, that is, from lower to higher entropy (in the universe overall).

Entropy in biological systems

One implication of the second law of thermodynamics is that in order for a process to happen, it must somehow increase the entropy of the universe. This may immediately raise some questions for you when you think about living organisms such as yourself. After all, aren’t you a pretty ordered collection of matter? Every cell in your body has its own internal organization; the cells are organized into tissues, and the tissues into organs; and your entire body maintains a careful system of transport, exchange, and commerce that keeps you alive. Thus, at first glance, it may not be clear how you, or even a simple bacterium, can represent an increase in the entropy of the universe.
To clarify this, let’s look at the energy exchanges that take place in your body – say, when you are going for a walk. As you contract the muscles of your legs to move your body forward, you are using chemical energy from complex molecules such as glucose and converting it into kinetic energy (and, if you’re walking uphill, potential energy). However, you’re doing this with pretty low efficiency: a large fraction of the energy from your fuel sources is simply transformed into heat. Some of the heat keeps your body warm, but much of it dissipates into the surrounding environment.
Cartoon of person walking, with a hamburger in his hand. The person is taking in complex macromolecules in the hamburger, and releasing them as carbon dioxide and water molecules, increasing entropy. He is also walking forward (converting chemical energy from macromolecules into kinetic energy), but much of the energy released is lost as heat (also increasing entropy).
This transfer of heat increases the entropy of the surroundings, as does the fact that you’re taking large, complex biomolecules and converting them into a lot of small, simple molecules, such as carbon dioxide and water, as you metabolize fuel to power your walk. This example uses a person in motion, but the same would be true for a person, or any other organism, at rest. The person or organism will maintain some basal rate of metabolic activity, causing the breakdown of complex molecules to smaller and more numerous ones and the release of heat, thus increasing the entropy of the surroundings.
Stated more generally, processes that locally decrease entropy, such as those that build and maintain the highly organized bodies of living things, can indeed take place. However, these local decreases in entropy can occur only with an expenditure of energy, where some of that energy is converted into heat or other non-usable forms. The net effect of the original process (local decrease in entropy) and the energy transfer (increase in entropy of surroundings) is an overall increase in the entropy of the universe.
To sum up, the high degree of organization of living things is maintained by a constant input of energy, and is offset by an increase in the entropy of the surroundings.

Want to join the conversation?

  • starky ultimate style avatar for user Sagi Ben Itzhak
    I still can't understand why heat is considered unusable energy? Why cant heat which is the kinetic energy of particles be transformed to another type of enegry that can be used?
    (37 votes)
    Default Khan Academy avatar avatar for user
  • male robot hal style avatar for user shreypatel0101
    Friction leads to entropy?
    (6 votes)
    Default Khan Academy avatar avatar for user
  • male robot hal style avatar for user Manuel Huertas Luna
    When it is said that some o the energy converts to unusable energy, it means unusable right know due to limited tecnology? or is it never going to be usable? (I'm not sure why molecular kinnetic energy could no be used)
    (5 votes)
    Default Khan Academy avatar avatar for user
  • piceratops seed style avatar for user kochaji.dana
    Everything posted has been very helpful and I thank you all . Since energy cannot be created or destroyed and it can only change form or be transferred from one object to another, can we not consider the sun as the "factory" of energy and if not where does the sun receive his energy from?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • leafers ultimate style avatar for user b3hr057
    The example given doesn't make sense to me: "...molecules of the hot object slow down, and the molecules of the cool object speed up, until all the molecules are moving at the same average speed.."

    Doesn't that mean that heat that does not go to work DECREASES the randomness of the universe (all molecules moving at the same average speed rather than different/random speeds)?

    "...heat that does not do work goes to increase the randomness of the universe..." <- it seems like the opposite is true. Unless having things all different is order and having them the same is chaos, but that is the opposite of my understanding of these words.
    (3 votes)
    Default Khan Academy avatar avatar for user
    • aqualine ultimate style avatar for user s372251
      The example means that heat is transferred between molecules which makes the speed relatively similar. Heat that does not go to work increases the randomness of the universe because heat energy will not be transferred and some molecules will move fast and others will move slowly, increasing the randomness, whereas if the heat goes to work, it will bring the speeds even and decrease randomness.
      (1 vote)
  • blobby green style avatar for user bradtombs78
    Regarding Entropy, do we know what is order is and where it comes from, or is it like Energy (we know what it does but as Feynman says that no one knows what energy is)?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • duskpin ultimate style avatar for user Joshua Story
      I'm assuming you're asking about the opposite of entropy. Technically, order can be measured as negentrophy (literally negative entropy), but it essentially just the reverse measurement of the entropy of a system and is of limited use.
      In regard to the origin of order, it can be assumed that since entropy increases as you follow the arrow of time, it must decrease as you follow it in the opposite direction. Since the universe is believed to have begun with a "big bang" resulting in a massive amount of entropy, it could hypothetically be assumed that the closest the universe has ever come to "order" was at same point before that. However, that is purely hypothetical. Assuming the currently popular model of a random universe, we would not expect order anyway, presumably negating the need for a real measurement of it.

      Hope that helped!
      (3 votes)
  • leafers sapling style avatar for user sara
    Can heat be turned back into usable energy?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Disha Shah
    The article mentions heat as one of the forms of 'non-useful' energy. What are the others?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • sneak peak green style avatar for user SK hirota
      it depends on what your objective is, and what kind of energy is useful to you. but one example of "non-useful" or "wasted" energy is sound energy.

      let's say you are drilling a hole in the ground. a mechanical drill would become hotter overtime with usage, and it will produce loud sounds, both of which take energy and is non-useful to your purpose.

      if you are, for example, turning on a heater or lighting a fire solely for heat, then the light emitted is the wasted energy.

      but for example, in a television set, light energy and sound energy are both useful to the purpose, while the television may heat up (thermal energy), which is not useful.
      so basically, light, heat, and sound are the 3 types of non-useful energy.
      (4 votes)
  • duskpin ultimate style avatar for user Jiayi Shao
    Why is it so hard to convert heat to other forms of energies that heat is considered as "unusable"? Is it likely that an efficient way to convert heat to other energies will be developed in the future?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • male robot hal style avatar for user Charles LaCour
      Not all heat is unusable. For example the heat of the burning wood or coal in a steam engine is useful heat but the heat that gets dispersed into the environment isn't.

      The main difference between useful and useless heat is if there is a difference in amounts of heat in different locations so that there can be a transfer of heat.

      The heat in the fire box of a steam engine is greater and concentrated and can be transferred into the cooler water to produce steam. Once this heat is dispersed into the environment the is likely no place for the heat to transfer to since most things are in equilibrium with the environment unless they have their own source of heat like the steam engine.
      (2 votes)
  • spunky sam blue style avatar for user integrity
    In the introduction to entropy video, where you made a distinction between "messy" and "disorder" .. you drew the conclusion that the sun has a higher (relative) entropy then the moon because of the greater number of states .. being the gauge of entropy.

    Then a few videos later you explain that Clausius associated "entropy" as the 'loss of the ability to do work'.

    The definitions/explanations seem to be conflicting!

    The sun is a hot active reservoir - source of heat - capable of affecting other things and can 'do work', where as the moon is cold and has less ability to 'do work' and so SHOULD be higher entropy than the sun, using the 2nd criteria.

    So? Which is it? Disorder, or, ability to do work?

    Apparently it can't be both.
    (3 votes)
    Default Khan Academy avatar avatar for user
    • leafers ultimate style avatar for user Yuda Bogomilsky
      When you burn coal for example you have taken potential energy and released it, part of that release of the potential energy will be "lost" to the atmosphere with no way to recapture it resulting in two effects:
      1) there is less available energy in the universe as a whole that can now be harnessed to do work. (like the way scientist talk about the earth running out of fossil fuels)
      2)That heat which was lost to atmosphere results in an increase f overall energy resulting in the possibility of more potential states i.e. an increase in the entropy in the universe.
      hope this helped.
      (0 votes)