Attractors in dynamical systems