Stack using LinkedList

while initializing LinkedList class object in stack class
we created a contructor to create object of LinkedList class in the lecture.
Why did we use constructor?We could have created object outside only.