A gull will build a nest because
it saw other gulls doing the same of something in its genes it wants to tidy up the area it's mother taught it to do that
A B C D
An example of an inherited behavior is a bird building a nest