In these notes we give an informal introduction to the theory of mixed Hodge structures. Guided by the example of a nodal curve, we illustrate how naturally mixed Hodge structures arise and, then, we describe how the cohomology of a smooth variety admits such a rich structure. Finally, we state the Invariant cycles theorem as an example where the theory of mixed Hodge structures is used.