Before he went to sleep, he had a chocolate chip cookie

Before he went to sleep, he had a chocolate chip cookie

independent

dependent

Independent: Before he went to sleep, he had a chocolate chip cookie.