Neighborhood characterization of topological spaces