Hello Abinash; You say that you already have descriptions of the habitats in which the traps are located. The cameras will provide frequency data for the animal records. You don't mention how many traps are placed in how many habitat types you are monitoring, however, a Chi-square test seems like a straightforward approach. Good luck, Jim Des Lauriers
You have to firstly specify your type of extracted data. Agreed with Dr. James Des Lauriers's to use Chi square test if there is a frequency data (response variable) over habitat (categorical variable). But if you have abundance or density data you have to model them into Anova (if normality verified) or kruskall wallis (not normally distributed). In the case of many explanatory variables (categorical and continuous) I think it will be better to use GLM with considering habitat as random effect.
If you want to see if particular herbivore species are correlated with vegetation type, you can use types of canonical ordination, PCA or funnel plots to start with as well :)