Cohomological aspects on complex and symplectic manifolds