Apricots are a type of fruit produced from the
Prunus armeniaca tree, which is of the Rosaceae (Rose Family). Although the fleshy part of the fruit is edible, the stony shelled seed--or pit enclosed within, is NOT. These seeds contain traces of HCN (hydrogen cyanide) glycosides, which are toxic to all animals and humans.
Although the seeds are the main concern, there are also certain periods where parts of the apricot tree can contain HCN glycosides as well. Young, rapidly growing leaves tend to contain increased levels. If large quantities are eaten however, or a small bird who doesn't weigh very much consumes it, it can cause
Cyanide poisoning, which is usually fatal.