Selective Attention

Why does our attention focus on some things and not others? What happens when our attention is divided?