Questions & Answers about Basilíkan er í gróðurhúsinu.
Basilíka is the basic noun, meaning basil. The ending -n is the suffixed definite article, so basilíkan means the basil.
It is also in the nominative singular, because it is the subject of the sentence.
Because í takes different cases depending on meaning.
Here it shows location, so it takes the dative: í gróðurhúsinu = in the greenhouse
The form gróðurhúsið is the nominative/accusative definite singular. You would use that form with í when the meaning is movement into something, for example: Ég set basilíkuna í gróðurhúsið = I put the basil into the greenhouse.
It can mean either, depending on the case:
- í + dative = in, inside a place
- í + accusative = into, to a place
In your sentence, gróðurhúsinu is dative, so the meaning is in the greenhouse, not into the greenhouse.